package me.aartikov.alligator.converters;


import me.aartikov.alligator.Screen;
import ohos.aafwk.content.Intent;

/**
 * {@link IntentConverter} that doesn't require to implement {@code getScreen} method. Should be used for external activities only.
 *
 * @param <ScreenT> screen type
 */
public abstract class OneWayIntentConverter<ScreenT extends Screen> implements IntentConverter<ScreenT> {

    final public ScreenT getScreen(Intent intent) {
        throw new UnsupportedOperationException();
    }
}
